package com.scau402.system1.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.scau402.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 入库单导出VO
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WmsInboundOrderExportVO {
    /**
     * 入库类型：0=采购入库,1=借货入库,2=还货入库，3=加工入库
     */
    @Excel(name = "入库类型",readConverterExp = "0=采购入库,1=借货入库,2=还货入库，3=加工入库")
    private String orderType;
    /**
     * 入库单编号
     */
    @Excel(name = "入库单号",width = 30)
    private String orderCode;
    /**
     * 订单批次
     */
    @Excel(name = "订单批次")
    private String orderBatch;
    /**
     * 有效期
     */
    @Excel(name = "有效期",dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date orderDate;
    /**
     * 供应商名称
     */
    @Excel(name = "供应商名称")
    private String supplierName;
    /**
     * 客户名称
     */
    @Excel(name = "客户名")
    private String clientName;
    /**
     * 入库仓库名称
     */
    @Excel(name = "入库仓库")
    private String warehouseName;
    /**
     * 入库仓位名称
     */
    @Excel(name = "入库仓位")
    private String storageName;
    /**
     * 入库人员
     */
    @Excel(name = "入库人员")
    private String createBy;
    /**
     * 入库时间
     */
    @Excel(name = "创建时间",dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;
}
